package com.chenglu.android.mine.wallet.mvp.model;





import com.chenglu.android.bean.SmsCodeBean;
import com.chenglu.android.common.net.RetrofitClientCL;
import com.chenglu.android.mine.bean.AmountTypeBean;
import com.chenglu.android.mine.bean.BeansDetailBean;
import com.chenglu.android.mine.bean.MoneyBean;
import com.chenglu.android.mine.bean.UserInfoBean;
import com.chenglu.android.mine.wallet.mvp.contract.WalletContract;

import java.util.Map;

import io.reactivex.rxjava3.core.Observable;

/**
 * @author: lyj
 * @Created by Copyright 2023/7/27 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 *
 */
public class WalletModel implements WalletContract.WalletModel {




    @Override
    public Observable<AmountTypeBean> getAmountTypeList(String token, Map<String,String> map) {
        return RetrofitClientCL.getInstance().getApi().getAmountTypeList(token, map);
    }

    @Override
    public Observable<MoneyBean> getMoneyDetails(String token) {
        return RetrofitClientCL.getInstance().getApi().getMoneyDetails(token);
    }



}
